<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    </head>
    <body>
        <style type="text/css">
            .sdiv{
                width:200px;
                height: 20px;
                background-color: #F90;
            }
            .dd div{
                color:red;
            }
            #div2{
                font-weight: bold;
            }
        </style>
        <div id="div1" class="dd">TODO write content</div>
        <script type="text/javascript">
            var e = document.createElement("div");
            e.setAttribute("class", "sdiv");
            e.setAttribute("id", "div2");
            e.innerHTML = "aaa";
            document.getElementById("div1").appendChild(e);
        </script>
    </body>
</html>
